SRFM\Inc\Form_Submit D

Total Complexity 170
Dependencies 11
Dependents 1
Total lines 1,104
Lines of code 711
Logical lines of code 361
Comment lines 232
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
24
59 141
handle_form_entry()
D
26
27 157
send_email()
A
36 12 84
field_unique_validation()
A
44 12 42
prepare_submission_data()
A
50 10 26
recaptcha_error_message()
A
39 6 73
add_from_data_in_header()
S
58 8 12
parse_email_notification_template()
S
52 7 21
validate_turnstile_token()
S
49 5 33
validate_hcaptcha_token()
S
49 5 33
submit_form_permissions_check()
S
52 5 27
srfm_global_sidebar_enabled()
S
59 5 14
srfm_global_update_allowed_block()
S
59 4 14
permissions_check()
S
69 2 6
register_custom_endpoint()
S
64 1 11
__construct()
S
68 1 7
recaptcha_error_response()
S
65 1 10